package com.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

/* *
 *  酒店预约，对应实体表hotel_order
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HotelOrder {
    @TableId(value = "hotel_id",type = IdType.AUTO)
    private Long hotelId;//出行预约id
    private Long userId;//用户id
    private String userIdCard;//用户身份证号
    private String userName;//用户名
    private String hotelPosition;//酒店地点
    private LocalDateTime hotelReserveTime;//酒店预定时间
}
